<script type="text/javascript">
    var bg_class = '<?php echo $bg_class; ?>';
</script>
<?php include_partial('showPortfolio',array('portfolio'=>$portfolio,'nextPortfolio'=>$nextPortfolio,'previousPortfolio'=>$previousPortfolio)) ?>